From: Keir Fraser Date: Wed, 15 Oct 2008 14:58:09 +0000 (+0100) Subject: x86 cpuid: leaf 4 sub-index goes in %ecx, not %ebx X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14066^2~43 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=2a010416e02c2a9375317f386dd5e1efabc8c8f5;p=xen.git x86 cpuid: leaf 4 sub-index goes in %ecx, not %ebx Signed-off-by: Tim Deegan --- diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 3046b89495..ce96ad6f68 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -710,7 +710,7 @@ static void pv_cpuid(struct cpu_user_regs *regs) if ( current->domain->domain_id != 0 ) { if ( !cpuid_hypervisor_leaves(a, &a, &b, &c, &d) ) - domain_cpuid(current->domain, a, b, &a, &b, &c, &d); + domain_cpuid(current->domain, a, c, &a, &b, &c, &d); goto out; }